import uiautomation
import pyautogui


class Shenqingdanbaogao():
    his = uiautomation.WindowControl(searchDepth=1, Name='科玛奇医院信息管理系统')  # 锁定窗口
    his.SetFocus()
    shenqingdanbaogao = his.TabControl(AutomationId='tabZhenliao', ClassName='TabControl').TabItemControl(AutomationId='sqbgdView', ClassName='TabItem')  # 申请单报告

#点击申请单报告
    def click_shengqingdanbaogao_btn(self):
        self.shenqingdanbaogao.Click()